﻿using M.WWHours.Domain.Dto;
using M.WWHours.Domain.Model;
using MediatR;

namespace M.WWHours.API.Command.WorkerListCommand
{
    /// <summary>
    /// 显示工人列表命令
    /// </summary>
    public class ShowWorkerListCommand : IRequest<WorkerListDto<WorkerList>>
    {
        /// <summary>
        /// 工人编号
        /// </summary>
        public string? WorkerNumber { get; set; }

        /// <summary>
        /// 工人姓名
        /// </summary>
        public string? WorkersName { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string? Status { get; set; }

        /// <summary>
        /// 页码
        /// </summary>
        public int? PageIndex { get; set; }

        /// <summary>
        /// 每页显示数量
        /// </summary>
        public int? PageSize { get; set; }
    }
}
